import request from '../utils/request.js'


export function smokeMeetingUser(data) {
	return new Promise((resolve, reject) => {
		request.post("/ipad/smokeMeetingUser", data).then((result) => {
			resolve(result);
		}).catch((error) => {
			reject(error);
		});
	});
}

export function getSmokes(data) {
	return new Promise((resolve, reject) => {
		request.get("/ipad/smokeMeetingUser", data).then((result) => {
			resolve(result);
		}).catch((error) => {
			reject(error);
		});
	});
}

export function getOngoing(data) {
	return new Promise((resolve, reject) => {
		request.get("/ipad/smokeMeeting/getOngoing", data).then((result) => {
			resolve(result);
		}).catch((error) => {
			reject(error);
		});
	});
}

/**获取顶部完成进度*/
export function getCompeleteList(data={}) {
	return new Promise((resolve, reject) => {
		request.get("/ipad/smokeMeeting/getWorkStatus", data).then((result) => {
			resolve(result);
		}).catch((error) => {
			reject(error);
		});
	});
}

